package com.zbkj.crmeb.chant.model;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_channel_partition_user")
@ApiModel("ChannelPartitionUser对象")
public class ChannelPartitionUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("瓜分券id")
    private Integer partitionId;

    @ApiModelProperty("使用条件")
    private BigDecimal useCondition;

    @ApiModelProperty("适用商品1：全部 2：部分商品")
    private Integer useType;

    @ApiModelProperty("用户id")
    private Integer uid;

    @ApiModelProperty("用户瓜分金额")
    private BigDecimal partitionMoney;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
